package com.yansu.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import feign.Contract;
import feign.Logger;

/**
 * 
 * @author 言肃
 * @email yansu_code@126.com
 * @version 1.0
 * @date Jul 29, 2018 1:36:26 PM
 */
@Configuration
public class UserConfiguration {

	@Bean
	public Contract feignContract() {
		return new feign.Contract.Default();
	}

	@Bean
	Logger.Level feignLoggerLevel() {
		return Logger.Level.FULL;
	}
}
